#-------------------------------------------------
#
# Project created by QtCreator 2011-04-14T18:03:58
#
#-------------------------------------------------

QT += core
QT += gui
QT += network

TARGET = Evol
CONFIG   += console
CONFIG   -= app_bundle

TEMPLATE = app
INCLUDEPATH += ../externals/includes \
    ../OSCthulhu/
DEPENDPATH += ../externals/includes \
    ../OSCthulhu/

!win32 {
    SOURCES += \
    externals/includes/ip/posix/UdpSocket.cpp \
    externals/includes/ip/posix/NetworkingUtils.cpp \
}

win32 {
    SOURCES += \
    externals/includes/ip/win32/UdpSocket.cpp \
    externals/includes/ip/win32/NetworkingUtils.cpp
}


SOURCES += main.cpp \
    CandidateFactory.cpp \
    EvolutionaryOperator.cpp \
    SelectionStrategy.cpp \
    Candidate.cpp \
    FitnessEvaluator.cpp \
    Crossover.cpp \
    RandomNumberGenerator.cpp \
    Tournament.cpp \
    GAThread.cpp \
    IslandEvolution.cpp \
    EvolutionEngine.cpp \
    ../OSCthulhu/User.cpp \
    ../OSCthulhu/SyncObject.cpp \
    ../OSCthulhu/SyncArgMap.cpp \
    ../OSCthulhu/SyncArg.cpp \
    ../OSCthulhu/StateSynchronization.cpp \
    ../OSCthulhu/ServerPacketListener.cpp \
    ../OSCthulhu/ServerOSCThread.cpp \
    ../OSCthulhu/OSCthulhuServer.cpp \
    ../OSCthulhu/OSCthulhuClient.cpp \
    ../OSCthulhu/MainWindow.cpp \
    ../OSCthulhu/LoginThread.cpp \
    ../OSCthulhu/KeepAlive.cpp \
    ../OSCthulhu/GroupServer.cpp \
    ../OSCthulhu/ClientUser.cpp \
    ../OSCthulhu/ClientSyncObject.cpp \
    ../OSCthulhu/ClientPacketListener.cpp \
    ../OSCthulhu/ClientOSCThread.cpp \
    externals/includes/ip/IpEndpointName.cpp \
    externals/includes/osc/OscTypes.cpp \
    externals/includes/osc/OscReceivedElements.cpp \
    externals/includes/osc/OscPrintReceivedElements.cpp \
    externals/includes/osc/OscOutboundPacketStream.cpp


HEADERS += \
    CandidateFactory.h \
    EvolutionaryOperator.h \
    SelectionStrategy.h \
    Candidate.h \
    FitnessEvaluator.h \
    Crossover.h \
    RandomNumberGenerator.h \
    Constants.h \
    Tournament.h \
    GAThread.h \
    IslandEvolution.h \
    EvolutionEngine.h \
    ../OSCthulhu/User.h \
    ../OSCthulhu/SyncObject.h \
    ../OSCthulhu/SyncArgs.h \
    ../OSCthulhu/SyncArgMap.h \
    ../OSCthulhu/SyncArg.h \
    ../OSCthulhu/StateSynchronization.h \
    ../OSCthulhu/ServerPacketListener.h \
    ../OSCthulhu/ServerOSCThread.h \
    ../OSCthulhu/OSCthulhuServer.h \
    ../OSCthulhu/OSCthulhuClient.h \
    ../OSCthulhu/MainWindow.h \
    ../OSCthulhu/LoginThread.h \
    ../OSCthulhu/KeepAlive.h \
    ../OSCthulhu/GroupServer.h \
    ../OSCthulhu/Constants.h \
    ../OSCthulhu/ClientUser.h \
    ../OSCthulhu/ClientSyncObject.h \
    ../OSCthulhu/ClientPacketListener.h \
    ../OSCthulhu/ClientOSCThread.h \
    externals/includes/ip/UdpSocket.h \
    externals/includes/ip/TimerListener.h \
    externals/includes/ip/PacketListener.h \
    externals/includes/ip/NetworkingUtils.h \
    externals/includes/ip/IpEndpointName.h \
    externals/includes/osc/OscTypes.h \
    externals/includes/osc/OscReceivedElements.h \
    externals/includes/osc/OscPrintReceivedElements.h \
    externals/includes/osc/OscPacketListener.h \
    externals/includes/osc/OscOutboundPacketStream.h \
    externals/includes/osc/OscHostEndianness.h \
    externals/includes/osc/OscException.h \
    externals/includes/osc/MessageMappingOscPacketListener.h \

FORMS += \
    ../OSCthulhu/MainWindow.ui

HEADERS += \
    Algorithms/MelodyCandidateFactory.h

SOURCES += \
    Algorithms/MelodyCandidateFactory.cpp

HEADERS += \
    Algorithms/MelodyEvaluator.h

SOURCES += \
    Algorithms/MelodyEvaluator.cpp

HEADERS += \
    Algorithms/MelodyCandidate.h

SOURCES += \
    Algorithms/MelodyCandidate.cpp

HEADERS += \
    Algorithms/MelodyCrossover.h

SOURCES += \
    Algorithms/MelodyCrossover.cpp

HEADERS += \
    ConvertGenes.h

SOURCES += \
    ConvertGenes.cpp
